import ByCell from "@/components/ui/ByCell";
import ByCellGroup from "@/components/ui/ByCellGroup";
import { ContractInfo } from "@/types/contract";
import { View } from "@tarojs/components";

export default ({ data }: { data?: ContractInfo }) => {
  return (
    <View className="my-3">
      <ByCellGroup>
        <ByCell label="材料预算总金额">
          ¥{data?.primarySteelBudgetAmount}
        </ByCell>
        <ByCell label="材料结算总金额">
          ¥{data?.primarySteelSettlementAmount}
        </ByCell>
        <ByCell label="材料增项总金额"></ByCell>
        <ByCell label="材料减项总金额"></ByCell>
      </ByCellGroup>
    </View>
  );
};
